package com.iyao_app.mvp.preview.fragment;

/**
 * 作者 :  胡家兵
 * 时间 :  2017/12/12.
 */

public class PagerItem {

    protected static final float DEFAULT_WIDTH = 1.f;

    private final CharSequence title;
    private final float width;

    protected PagerItem(CharSequence title, float width) {
        this.title = title;
        this.width = width;
    }

    public CharSequence getTitle() {
        return title;
    }

    public float getWidth() {
        return width;
    }
}
